Skip to content

docs(ci): scope build-doc command checks to changed files#1244

Open
WuXieSec wants to merge 1 commit intoDasharo:masterfrom
WuXieSec:docs/checker-changed-files-mode-1153
Open

docs(ci): scope build-doc command checks to changed files#1244
WuXieSec wants to merge 1 commit intoDasharo:masterfrom
WuXieSec:docs/checker-changed-files-mode-1153

Conversation

@WuXieSec
Copy link
Copy Markdown

Summary

Add a changed-files mode for build-doc command checks to reduce CI noise and focus on the PR scope.

What this adds

  • tools/check_build_docs_commands.py
    • supports --files ... to validate only selected building-manual.md files
    • keeps placeholder/pseudocode skips (<version>, (docker), etc.)
  • .github/workflows/docs-build-command-check.yml
    • detects changed files in PR/push
    • runs command checks only for changed files

Why

For #1153, this keeps documentation command testing practical and review-friendly while still catching syntax regressions in touched docs.

Related issue: Dasharo/dasharo-issues#1153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant